<template>
  <div>
    <el-tag v-if="status == 0" type="info">待支付开团</el-tag>
    <el-tag v-else-if="status == 1">开团成功</el-tag>
    <el-tag v-else-if="status == 2" type="success">拼团成功</el-tag>
    <el-tag v-else type="danger">拼团失败</el-tag>
  </div>
</template>

<script>
export default {
  props: {
    row: {
      type: Object,
      default: _ => {
        return {};
      }
    }
  },
  computed: {
    status() {
      return this.row.status;
    }
  }
};
</script>
